package com.touchfish.material.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.sql.Date;

@Data
@TableName(value = "t_goods_material")
public class TGoodsMaterial {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("material_name")
    private String materialName;
    @TableField("material_code")
    private String materialCode;
    @TableField("stock_num")
    private Integer stockNum;
    @TableField("unit_value")
    private String unitValue;
    private String remark;
    @TableField("create_user_id")
    private String createUserId;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(value = "update_user_id",fill = FieldFill.INSERT_UPDATE)
    private String updateUserId;
    @TableField("update_time")
    private Date updateTime;
    @TableField("tenant_id")
    private String tenantId;
    @TableField("request_id")
    private String requestId;
    @TableField("del_flag")
    private int delFlag;

//    @Version
//    private Integer version;
}
